package com.lajiaomian.springbootruijiwaimai.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lajiaomian.springbootruijiwaimai.pojo.Employee;

import java.util.List;

/**
 * @author lajiaomian
 * @create 2022-08-11-10:38
 */
public interface EmployeeService extends IService<Employee> {
    //根据用户名得到员工信息
    Employee getEmployee(String username);
    //分页显示员工信息
    Page<Employee> getEmployeePage(Integer page,Integer pageSize,String name);
}
